using System.IO;

namespace ScrewTurnHelper
{
	public class TabDelimited
	{
		public static DataTable Parse(string data)
		{
			TextReader stream = new StringReader(data);
			var table = new DataTable();
			for (var line = stream.ReadLine(); line != null; line = stream.ReadLine())
			{
					table.Rows.Add(line.Split(new[] { '\x09' }));
			}
			return table;
		}
	}
}